
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include "comm.h"
#include "tc_group.h"


static struct tc testcase[] = {
	{
		.name = "2.1",
		.func = a2_1,
	},
};

int main(int argc, char const *argv[])
{
	int i;

	log_inf("********************");
	log_inf("this is a new start.");
	log_inf("********************");

	log_inf("total run %d testcase", DeepOfArray(testcase));

	// batch TESTS running
    for (i = 0; i < DeepOfArray(testcase); ++i) {
        log_inf("==== testcase %d:%s run ====", i, testcase[i].name);
        (testcase[i].func)();
    }

	log_inf("exit");
	return 0;
}

